package com.axjy.service;

import com.axjy.pojo.User;
import com.axjy.util.Pager;
import com.axjy.web.dto.UserDto;

/**
 * Created by 83536 on 2018/1/16.
 */
public interface UserService {
    Pager searchPager(Integer offset, Integer limit, UserDto dto);
    void updateRole(Integer userId,Integer roleId);
    User login(String name,String pwd);
    void add(User user);
}
